<head>
    <link href="/css/Style.css" media="screen" rel="stylesheet" type="text/css"/>
    <script src="/js/ajaxsbmt.js" type="text/javascript"></script>
</head>

<div id="MyResult"></div>

<div class="bodyContainer" style="width:915px;">

    <div id="accordion">
        <h3><a href="#">Home</a></h3>

        <div id="content"> 
            <form method="POST" name="homeForm" action="/admin/index/contentupdate" onsubmit="xmlhttpPost('/admin/index/contentupdate', 'homeForm', 'MyResult','<img src=\'/images/pleasewait.gif\'>'); return false;">    
                <input id="controller" type="hidden" value="home"/>
                <table id="adminTable">
                    <tr class="bigTitle2">
                        <th style="width:9%" >
                            Content
                        </th>
                        <th style="width:39%" >
                            English
                        </th>
                        <th style="width:39%">
                            Arabic
                        </th>                
                    </tr>
                    
                    <tr>
                        <td>
                            Vision Title
                        </td>
                        <td>
                            <input id="Vision-title-en" type="text" value="<?=$this->dic['en']['home']["Vision-title"]; ?>" />
                        </td>
                        <td>
                            <input id="Vision-title-ar" type="text" value="<?=$this->dic['ar']['home']["Vision-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Vision
                        </td>
                        <td>
                            <textarea id="Vision-content-en" rows="5" cols="50"><?=$this->dic['en']['home']["Vision-content"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="Vision-content-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['home']["Vision-content"]; ?></textarea>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            Experience Title
                        </td>
                        <td>
                            <input id="Experiance1-title-en" type="text" value="<?=$this->dic['en']['home']["Experiance1-title"]; ?>" />
                        </td>
                        <td>
                            <input id="Experiance1-title-ar" type="text" value="<?=$this->dic['ar']['home']["Experiance1-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Experience no 1
                        </td>
                        <td>
                            <textarea id="Experiance1-note-en" rows="5" cols="50"><?=$this->dic['en']['home']["Experiance1-note"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="Experiance1-note-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['home']["Experiance1-note"]; ?></textarea>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            Experience Title  
                        </td>
                        <td>
                            <input id="Experiance2-title-en" type="text" value="<?=$this->dic['en']['home']["Experiance2-title"]; ?>" />
                        </td>
                        <td>
                            <input id="Experiance2-title-ar" type="text" value="<?=$this->dic['ar']['home']["Experiance2-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Experience no 2
                        </td>
                        <td>
                            <textarea id="Experiance2-note-en" rows="5" cols="50"><?=$this->dic['en']['home']["Experiance2-note"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="Experiance2-note-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['home']["Experiance2-note"]; ?></textarea>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            news 1 date
                        </td>
                        <td>
                            <select id="News1-day">
                                <?php for ($i = 1; $i <= 31; $i++): ?>
                                    <option value=<?= $i; ?> <?=$i == $this->dic['en']['home']["News1-day"] ? 'selected="selected"' : ''; ?>><?= $i; ?></option>
                                <?php endfor; ?>
                            </select>
                            /
                            <select id="News1-month">
                                <?php for ($i = 1; $i <= 12; $i++): ?>
                                    <option value=<?= $r=strftime("%b",strtotime($i."/1/99")); ?> <?= $r == $this->dic['en']['home']["News1-month"] ? 'selected="selected"' : ''; ?>><?= $i; ?></option>
                                <?php endfor; ?>
                            </select>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            news 1 title  
                        </td>
                        <td>
                            <input id="News1-title-en" type="text" value="<?=$this->dic['en']['home']["News1-title"]; ?>" />
                        </td>
                        <td>
                            <input id="News1-title-ar" type="text" value="<?=$this->dic['ar']['home']["News1-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            news 1 note
                        </td>
                        <td>
                            <textarea id="News1-note-en" rows="5" cols="50"><?=$this->dic['en']['home']["News1-note"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="News1-note-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['home']["News1-note"]; ?></textarea>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            news 2 date
                        </td>
                        <td>
                                                      <select id="News2-day">
                                <?php for ($i = 1; $i <= 31; $i++): ?>
                                    <option value=<?= $i; ?> <?=$i == $this->dic['en']['home']["News2-day"] ? 'selected="selected"' : ''; ?>><?= $i; ?></option>
                                <?php endfor; ?>
                            </select>
                            /
                            <select id="News2-month">
                                <?php for ($i = 1; $i <= 12; $i++): ?>
                                    <option value=<?= $r=strftime("%b",strtotime($i."/1/99")); ?> <?= $r == $this->dic['en']['home']["News2-month"] ? 'selected="selected"' : ''; ?>><?= $i; ?></option>
                                <?php endfor; ?>
                            </select>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            news 2 title  
                        </td>
                        <td>
                            <input id="News2-title-en" type="text" value="<?=$this->dic['en']['home']["News2-title"]; ?>" />
                        </td>
                        <td>
                            <input id="News2-title-ar" type="text" value="<?=$this->dic['ar']['home']["News2-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            news 2 note
                        </td>
                        <td>
                            <textarea id="News2-note-en" rows="5" cols="50"><?=$this->dic['en']['home']["News2-note"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="News2-note-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['home']["News2-note"]; ?></textarea>
                        </td>
                    </tr>
                </table>
                <input type="submit" id="save" name="save" value="Save" class="button" style="margin: 20px 0 0 100px;"/>
                <input type="reset" id="clear" name="clear" value="Clear" class="button" style="margin-top: 20px"/>

            </form>
        </div>






        <h3><a href="#">About</a></h3>
        <div id="content">
            <form method="POST" name="aboutForm" action="/admin" onsubmit="xmlhttpPost('/admin/index/contentupdate', 'aboutForm', 'MyResult','<img src=\'/images/pleasewait.gif\'>'); return false;">   
                <input id="controller" type="hidden" value="about"/>
                
                <table id="adminTable">
                    <tr class="bigTitle2"> 
                        <th style="width:9%">
                            content
                        </th>
                        <th style="width:39%">
                            English
                        </th>
                        <th style="width:39%">
                            Arabic
                        </th>                
                    </tr>
                    <tr>
                        <td>
                            About Title
                        </td>
                        <td>
                            <input id="About-title2-en" type="text" value="<?=$this->dic['en']['about']["About-title2"]; ?>" />
                        </td>
                        <td>
                            <input id="About-title2-ar" type="text" value="<?=$this->dic['ar']['about']["About-title2"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            About Paragraph no. 1
                        </td>
                        <td>
                            <textarea id="About-paragraph1-en" rows="5" cols="50"><?=$this->dic['en']['about']["About-paragraph1"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="About-paragraph1-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['about']["About-paragraph1"]; ?></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            About Paragraph no. 2
                        </td>
                        <td>
                            <textarea id="About-paragraph2-en" rows="5" cols="50"><?=$this->dic['en']['about']["About-paragraph2"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="About-paragraph2-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['about']["About-paragraph2"]; ?></textarea>
                        </td>
                    </tr>





                    <tr>
                        <td>
                            Dr. no. 1 Title  
                        </td>
                        <td>
                            <input id="Doctor1-title-en" type="text" value="<?=$this->dic['en']['about']["Doctor1-title"]; ?>" />
                        </td>
                        <td>
                            <input id="Doctor1-title-ar" type="text" value="<?=$this->dic['ar']['about']["Doctor1-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Dr. no. 1 Note 
                        </td>
                        <td>
                            <textarea id="Doctor1-note-en" rows="5" cols="50"><?=$this->dic['en']['about']["Doctor1-note"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="Doctor1-note-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['about']["Doctor1-note"]; ?></textarea>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            Dr. no. 2 Title   
                        </td>
                        <td>
                            <input id="Doctor2-title-en" type="text" value="<?=$this->dic['en']['about']["Doctor2-title"]; ?>" />
                        </td>
                        <td>
                            <input id="Doctor2-title-ar" type="text" value="<?=$this->dic['ar']['about']["Doctor2-title"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Dr. no. 2 Note 
                        </td>
                        <td>
                            <textarea id="Doctor2-note-en" rows="5" cols="50"><?=$this->dic['en']['about']["Doctor2-note"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="Doctor2-note-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['about']["Doctor2-note"]; ?></textarea>
                        </td>
                    </tr>


                    <tr>
                        <td>
                            Equipments Title
                        </td>
                        <td>
                            <input id="Equipments-title2-en" type="text" value="<?=$this->dic['en']['about']["Equipments-title2"]; ?>" />
                        </td>
                        <td>
                            <input id="Equipments-title2-ar" type="text" value="<?=$this->dic['ar']['about']["Equipments-title2"]; ?>" style="direction:rtl"/>
                        </td>
                    </tr>

                    <tr>
                        <td>
                            Equipments Content
                        </td>
                        <td>
                            <textarea id="Equipments-paragraph-en" rows="5" cols="50"><?=$this->dic['en']['about']["Equipments-paragraph"]; ?></textarea>
                        </td>
                        <td>
                            <textarea id="Equipments-paragraph-ar" rows="5" cols="50" style="direction:rtl"><?=$this->dic['ar']['about']["Equipments-paragraph"]; ?></textarea>
                        </td>
                    </tr>
                </table>
<input type="submit" id="save" name="save" value="Save" class="button" style="margin: 20px 0 0 100px;"/>
<input type="reset" id="clear" name="clear" value="Clear" class="button" style="margin-top: 20px"/>
            </form>
        </div>






        <h3><a href="#">Contact</a></h3>

        <div id="content">
            <form method="POST" name="contactForm" action="/admin" onsubmit="xmlhttpPost('/admin/index/contentupdate', 'contactForm', 'MyResult','<img src=\'/images/pleasewait.gif\'>'); return false;">   
                <input id="controller" type="hidden" value="contact"/> 
                            <table id="adminTable">
                <tr class="bigTitle2">
                    <th style="width:20%">
                        Content
                    </th>
                    <th style="width:70%">
                        Information
                    </th>                
                </tr>
                <tr>
                    <td>
                        Phone number
                    </td>
                    <td>
                        <input id="Info-phone" type="text" value="<?=$this->dic['en']['contact']["Info-phone"]; ?>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Email Address
                    </td>
                    <td>
                        <input id="Info-mail" type="text" value="<?=$this->dic['en']['contact']["Info-mail"]; ?>" />
                    </td>
                </tr>
            </table>
<input type="submit" id="save" name="save" value="Save" class="button" style="margin: 20px 0 0 132px;"/>
<input type="reset" id="clear" name="clear" value="Clear" class="button" style="margin-top: 20px"/>
            </form>
        </div>

    </div>








</div>
